<?php

class Avatar_Bootstrap extends Engine_Application_Bootstrap_Abstract {
	protected function _initFrontController() {
		$frontController = Zend_Controller_Front::getInstance ();
		$frontController->registerPlugin ( new Avatar_Plugin_Composer () );
		
		$request = new Zend_Controller_Request_Http ();
		$match = $request->getPathInfo ();
		
		if ($match == '/members/edit/photo')
			$frontController->getRouter ()->getRoute ( 'user_extended' )->isAbstract ( true );
	
	}
}